package com.jiumi.baseconfig.domain;

import com.jiumi.common.annotation.Excel;
import com.jiumi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 栏目轮播图对象 base_banner_info
 *
 * @author jiumi
 * @date 2023-05-21
 */
@Data
public class BaseBannerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 栏目ID */
    @Excel(name = "栏目ID")
    private Long categoryId;
    private String categoryName;

    /** 图片 */
    @Excel(name = "图片")
    private String imageUrl;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long orderNum;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String skipUrl;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("imageUrl", getImageUrl())
            .append("content", getContent())
            .append("orderNum", getOrderNum())
            .append("skipUrl", getSkipUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
